import React, {Component} from 'react';
import {observer} from 'mobx-react';
import { withRouter } from 'react-router-dom';
import { Tools} from 'weaver-mobile';

const getLabel = Tools.getLabel;

@withRouter
@observer
export default class Footer extends Component {
    render(){
        const {store: {showWorkflow}} = this.props;
        return (
            <div className='footer'>
                <div>
                    {getLabel('512629', '如有打卡异常，请')+' '}<a className='workflow-link' onClick={showWorkflow}>{getLabel('132023', '提交考勤流程')+' >>'}</a>
                </div>
            </div>
        )
    }
}